package com.chenglin.picturepicker.adapter

import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.bumptech.glide.Glide
import com.chenglin.picturepicker.databinding.ActivityScanImageBinding

class ScanImageActivity : AppCompatActivity() {


    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        val binding = ActivityScanImageBinding.inflate(layoutInflater)
        setContentView(binding.root)

        val extras = intent.extras
        val path = extras!!.getString("path")
        Glide.with(this).load(path).into(binding.scaleImage)
    }
}